package com.lysj.admin.log.controller;

import com.lysj.admin.log.domain.Log;
import com.lysj.admin.log.service.LogService;
import com.lysj.admin.utils.spring.foundation.base.BaseController;
import com.lysj.admin.utils.spring.foundation.base.BaseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author Created by zk on 2019-01-17 10:44
 * @description
 */
@Slf4j
@RestController
@RequestMapping("/log")
public class LogController extends BaseController<Log> {
    @Resource
    private LogService logService;

    @Override
    public BaseService<Log> getService() {
        return logService;
    }


}
